FROM openjdk:17

COPY --from=hengyunabc/arthas:3.6.9-no-jdk /opt/arthas /opt/arthas

ADD adelyn-base-snowflake.jar adelyn-base-snowflake.jar

RUN ln -sf /usr/share/zoneinfo/Asia/ShangHai /etc/localtime

CMD ["java","-jar","--add-opens=java.base/java.lang=ALL-UNNAMED","adelyn-base-snowflake.jar"]
